import Base from "./base";
const api = new Base();
// 下单
export const addOrder = (data: any) => api.post(`/userOrder`, data);
export const sendOrder = (orderId: string) => api.post(`/userOrder/deliver/${orderId}`);


// 订单列表
export const getOrderList = (data: any) => api.get(`/userOrder/all`, data);

// 我的订单列表
export const getMyOrder = (data: any) => api.get("/userOrder/myPage", data);
